package com.neugh.service.impl;

import com.neugh.entity.Orde;
import com.neugh.entity.Shop;
import com.neugh.mapper.ShopMapper;
import com.neugh.service.ShopService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author sot
 * @since 2020-05-15
 */
@Service
public class ShopServiceImpl extends ServiceImpl<ShopMapper, Shop> implements ShopService {


    @Override
    public List<Shop> selectEnightShop() {
        return this.baseMapper.selectEnightShop();
    }

    @Override
    public List<Shop> selectSixShop() {
        return this.baseMapper.selectSixShop();
    }

    @Override
    public Shop selectById(int id) {
        return this.baseMapper.selectById(id);
    }

    @Override
    public List<Shop> selectHouShop() {
        return this.baseMapper.selectHouShop();
    }

    @Override
    public List<Orde> selectAllorder(Integer orderTypeId) {
        return this.baseMapper.selectAllorder(orderTypeId);
    }

    @Override
    public List<Orde> seleShop(Integer orderTypeId) {
        return this.baseMapper.seleShop(orderTypeId);
    }
}
